<%@ include file="/common/taglibs.jsp"%>
<page:applyDecorator name="default">
    <head>
        <title><fmt:message key="error.title"/></title>
    </head>
    <style type="text/css">
        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,table,th,td,embed,object,button{margin:0;padding:0;font-size:12px;color:#343434;font-family:"宋体",Arial,Helvetica;word-wrap:break-word;}
        fieldset,img,abbr{border:0;}
        address,caption,cite,code,dfn,em,strong,th,var,i,b{font-weight:normal;font-style:normal;}
        ul,ol{list-style:none;}
        a,a:link,a:visited,a:active{text-decoration:none;}
        a:hover{text-decoration:underline;}
        a:focus,input[type="text"]:focus,input[type="password"]:focus,textarea:focus{outline:none;}
        .nav{ width:100%; repeat-x; height:39px; }
        .errorwrap{margin:0 auto;}
        .nav .errorwrap em{color:#f5e2c2; font: bold 16px/39px "宋体"; padding-left:40px;}
        html{_background-attachment:fixed;_background-image:url(nothing.txt);}
        .w7{ width:770px; margin:0 auto;}
        .w7 span{ display:inline-block; height:170px;margin-left:60px;}
        .w7 h1{color:#a21e2c; font-size:26px; font-family:"微软雅黑";}
        .w7 h2{color:#666; font: bold 16px "宋体"; margin:10px 0;}
        .w7 h3{color:#666; font: bold 14px "宋体"; margin:10px 0;}
        .w7 h3 em{font-size:22px; color:#aa2230; padding:0 5px; font-weight:bold;}
        .w7 span p a{ font: bold 14px/32px "新宋体"; color:#fbf4e6;display:inline-block; background:url(images/404bt.jpg) no-repeat; text-align:center; width:106px; height:32px;}
    </style>
<div>
    <%@ include file="/common/messages.jsp" %>
    <div class="nav"><div class="errorwrap"><em><fmt:message key="error.heading"/></em></div></div>
    <div class="errorwrap" style="margin-top:85px;">
        <div class="w7">
            <span><img src="images/error.gif"></span>
        <span>
            <h1 style=""><fmt:message key="error.message"/></h1>
            <h2></h2>
            <p><a href="/home"><fmt:message key="error.back"/></a></p>
            <h3><fmt:message key="error.page"/><em id="timeout">5</em><fmt:message key="error.wait"/></h3>
        </span>
        </div>
    </div>
    <div class="cl20"></div>
    <div class="cl20"></div>
    <script type="text/javascript">
        (function(){
            var timeout = 0;
            var handler = function(i){
                document.getElementById("timeout").innerHTML = (5 - i);
                if(i < 5){
                    var method = arguments.callee;
                    setTimeout(function(){method(i + 1);}, 1000);
                }else{
                    window.history.go(-1);
                }
            };
            handler(0);
        })();
    </script>
</div>

</page:applyDecorator>